import request from '@/router/axios';

// 获取采购计划列表
export const getInquiryinfoList = (current, size, params) => {
  return request({
    url: '/api/blade-purchase/inquiryinfo/list',
    method: 'get',
    params: {
      ...params,
      current,
      size,
      isFollow: 1
    }
  })
}

// 根据询价单号获取询价单信息
export const getInquiryInfoByNo = (inquiryNo) => {
  return request({
    url: '/api/blade-purchase/inquiryinfo/getInquiryInfoByNo',
    method: 'get',
    params: {
      inquiryNo
    }
  })
}

// 根据报价单号获取报价单信息
export const getQuotationByNo = (quotationNo) => {
  return request({
    url: '/api/blade-purchase/inquiryinfo/getQuotationByNo',
    method: 'get',
    params: {
      quotationNo
    }
  })
}
